<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="Hexo Theme Keep">
    <meta name="description" content="Hexo Theme Keep">
    <meta name="author" content="aaton">
    
    <title>
        
        aaton&#39;s study notes
    </title>
    
<link rel="stylesheet" href="/css/style.css">

    <link rel="shortcut icon" href="/images/logo.svg">
    
<link rel="stylesheet" href="/font/css/fontawesome.min.css">

    
<link rel="stylesheet" href="/font/css/regular.min.css">

    
<link rel="stylesheet" href="/font/css/solid.min.css">

    
<link rel="stylesheet" href="/font/css/brands.min.css">

    <script id="hexo-configurations">
    let KEEP = window.KEEP || {}
    KEEP.hexo_config = {"hostname":"example.com","root":"/","language":"en"}
    KEEP.theme_config = {"toc":{"enable":false,"number":false,"expand_all":false,"init_open":false},"style":{"primary_color":"#0066cc","logo":"/images/logo.svg","favicon":"/images/logo.svg","avatar":"/images/avatar.svg","font_size":null,"font_family":null,"hover":{"shadow":false,"scale":false},"first_screen":{"enable":true,"header_transparent":true,"background_img":"/images/bg.svg","description":"Keep writing and Keep loving.","font_color":null,"hitokoto":true},"scroll":{"progress_bar":false,"percent":false}},"local_search":{"enable":false,"preload":false},"code_copy":{},"code_block":{"tools":{"enable":true,"style":"default"},"highlight_theme":"default"},"side_tools":{},"pjax":{"enable":false},"lazyload":{"enable":false},"comment":{"enable":false,"use":"valine","valine":{"appid":null,"appkey":null,"server_urls":null,"placeholder":null},"gitalk":{"github_id":null,"github_admins":null,"repository":null,"client_id":null,"client_secret":null,"proxy":null},"twikoo":{"env_id":null,"region":null,"version":"1.6.8"},"waline":{"server_url":null,"reaction":false,"version":2}},"post":{"author_label":{"enable":true,"auto":true,"custom_label_list":["Trainee","Engineer","Architect"]},"word_count":{"enable":true,"wordcount":true,"min2read":true},"img_align":"left","copyright_info":false},"version":"3.6.1"}
    KEEP.language_ago = {"second":"%s seconds ago","minute":"%s minutes ago","hour":"%s hours ago","day":"%s days ago","week":"%s weeks ago","month":"%s months ago","year":"%s years ago"}
    KEEP.language_code_block = {"copy":"Copy code","copied":"Copied","fold":"Fold code block","folded":"Folded"}
    KEEP.language_copy_copyright = {"copy":"Copy copyright info","copied":"Copied","title":"Original article title","author":"Original article author","link":"Original article link"}
  </script>
<meta name="generator" content="Hexo 6.3.0"></head>


<body>
<div class="progress-bar-container">
    

    
</div>


<main class="page-container">

    

    <div class="page-main-content is-home">

        <div class="page-main-content-top">
            
<header class="header-wrapper transparent-1">

    <div class="header-content">
        <div class="left">
            
                <a class="logo-image" href="/">
                    <img src="/images/logo.svg">
                </a>
            
            <a class="logo-title" href="/">
               aaton&#39;s study notes
            </a>
        </div>

        <div class="right">
            <div class="pc">
                <ul class="menu-list">
                    
                        <li class="menu-item">
                            <a class="active"
                               href="/"
                            >
                                HOME
                            </a>
                        </li>
                    
                        <li class="menu-item">
                            <a class=""
                               href="/archives"
                            >
                                ARCHIVES
                            </a>
                        </li>
                    
                        <li class="menu-item">
                            <a class=""
                               href="/tags"
                            >
                                TAGS
                            </a>
                        </li>
                    
                        <li class="menu-item">
                            <a class=""
                               href="/categories"
                            >
                                CATEGORIES
                            </a>
                        </li>
                    
                        <li class="menu-item">
                            <a class=""
                               href="/about"
                            >
                                ABOUT
                            </a>
                        </li>
                    
                    
                </ul>
            </div>
            <div class="mobile">
                
                <div class="icon-item menu-bar">
                    <div class="menu-bar-middle"></div>
                </div>
            </div>
        </div>
    </div>

    <div class="header-drawer">
        <ul class="drawer-menu-list">
            
                <li class="drawer-menu-item flex-center">
                    <a class="active"
                       href="/">HOME</a>
                </li>
            
                <li class="drawer-menu-item flex-center">
                    <a class=""
                       href="/archives">ARCHIVES</a>
                </li>
            
                <li class="drawer-menu-item flex-center">
                    <a class=""
                       href="/tags">TAGS</a>
                </li>
            
                <li class="drawer-menu-item flex-center">
                    <a class=""
                       href="/categories">CATEGORIES</a>
                </li>
            
                <li class="drawer-menu-item flex-center">
                    <a class=""
                       href="/about">ABOUT</a>
                </li>
            
        </ul>
    </div>

    <div class="window-mask"></div>

</header>


        </div>

        <div class="page-main-content-middle">

            <div class="main-content">

                
                    <div class="home-content-container fade-in-down-animation">
    <ul class="home-article-list">
        
            <li class="home-article-item">

                

                <h3 class="home-article-title">
                    <a href="/2023/06/05/Typescript%E4%B9%8B%E5%8F%AF%E9%80%89%E5%8F%82%E6%95%B0%E4%B8%8E%E5%8F%82%E6%95%B0%E9%BB%98%E8%AE%A4%E5%80%BC/">
                        Typescript之可选参数与参数默认值
                    </a>
                </h3>

                <div class="home-article-content keep-markdown-body">
                    
                        <p><img src="https://cn.bing.com/th?id=OHR.MorroJable_ZH-CN7382027688_1920x1200.jpg&rf=LaDigue_1920x1200.jpg" alt="bing.com-莫罗哈夫莱海滩和科罗拉达斯海滩，富埃特文图拉岛，西班牙加那利群岛" title="bing.com-莫罗哈夫莱海滩和科罗拉达斯海滩，富埃特文图拉岛，西班牙加那利群岛"></p>
<p>在JavaScript中，每个参数都是可选的，如果你没有传参数，他们的值就是undefined。<br>但是在Typescript中，默认每个参数都是必传的。</p>
                    
                </div>

                <div class="home-article-meta-info-container">
    <div class="home-article-meta-info">
        <span>
            <i class="fas fa-history"></i>&nbsp;
            <span class="home-article-date" data-updated="Sat Jun 03 2023 17:23:31 GMT+0800">
                2023-06-03
            </span>
        </span>
        
            <span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/categories/Typescript/">Typescript</a>&nbsp;
                        </li>
                    
                    
                </ul>
            </span>
        
        
            <span class="home-article-tag">
                <i class="fas fa-tags"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/tags/%E5%8F%AF%E9%80%89%E5%8F%82%E6%95%B0/">可选参数</a>&nbsp;
                        </li>
                    
                        <li>
                            | 
                            <a href="/tags/%E5%8F%82%E6%95%B0%E9%BB%98%E8%AE%A4%E5%80%BC/">参数默认值</a>&nbsp;
                        </li>
                    
                </ul>
            </span>
        
    </div>

    <a class="read-more" href="/2023/06/05/Typescript%E4%B9%8B%E5%8F%AF%E9%80%89%E5%8F%82%E6%95%B0%E4%B8%8E%E5%8F%82%E6%95%B0%E9%BB%98%E8%AE%A4%E5%80%BC/">Read more&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

            </li>
        
            <li class="home-article-item">

                

                <h3 class="home-article-title">
                    <a href="/2023/06/05/Javascript%E4%B9%8B%E6%B5%85%E6%8B%B7%E8%B4%9D%E4%B8%8E%E6%B7%B1%E6%8B%B7%E8%B4%9D/">
                        Javascript之浅拷贝与深拷贝
                    </a>
                </h3>

                <div class="home-article-content keep-markdown-body">
                    
                        <p><img src="https://cn.bing.com/th?id=OHR.CordouanLighthouse_ZH-CN6267155218_1920x1080.webp&qlt=50" alt="bing.com-科尔杜昂灯塔，罗扬市，夏朗德省，法国" title="bing.com-科尔杜昂灯塔，罗扬市，夏朗德省，法国"></p>
<p>Javascript中浅拷贝与深拷贝各自的含义、区别以及实现方式。</p>
                    
                </div>

                <div class="home-article-meta-info-container">
    <div class="home-article-meta-info">
        <span>
            <i class="fas fa-history"></i>&nbsp;
            <span class="home-article-date" data-updated="Thu May 11 2023 23:22:23 GMT+0800">
                2023-05-11
            </span>
        </span>
        
            <span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/categories/Javascript/">Javascript</a>&nbsp;
                        </li>
                    
                    
                        <li>
                            &gt; 
                            <a href="/categories/Typescript/">Typescript</a>&nbsp;
                        </li>
                    
                    
                </ul>
            </span>
        
        
            <span class="home-article-tag">
                <i class="fas fa-tags"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/tags/%E6%B7%B1%E6%8B%B7%E8%B4%9D/">深拷贝</a>&nbsp;
                        </li>
                    
                        <li>
                            | 
                            <a href="/tags/%E6%B5%85%E6%8B%B7%E8%B4%9D/">浅拷贝</a>&nbsp;
                        </li>
                    
                </ul>
            </span>
        
    </div>

    <a class="read-more" href="/2023/06/05/Javascript%E4%B9%8B%E6%B5%85%E6%8B%B7%E8%B4%9D%E4%B8%8E%E6%B7%B1%E6%8B%B7%E8%B4%9D/">Read more&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

            </li>
        
            <li class="home-article-item">

                

                <h3 class="home-article-title">
                    <a href="/2023/06/05/Javascript%E4%B9%8B%E6%9E%84%E9%80%A0%E5%87%BD%E6%95%B0/">
                        Javascript之构造函数
                    </a>
                </h3>

                <div class="home-article-content keep-markdown-body">
                    
                        <p><img src="https://cn.bing.com/th?id=OHR.GemsbokNamibia_ZH-CN0963988839_1920x1200.jpg&rf=LaDigue_1920x1200.jpg" alt="bing.com-丘中的南非剑羚，纳米比亚" title="bing.com-丘中的南非剑羚，纳米比亚"></p>
<p>Javascript中构造函数定义、使用方法、以及普通函数的区别。</p>
                    
                </div>

                <div class="home-article-meta-info-container">
    <div class="home-article-meta-info">
        <span>
            <i class="fas fa-history"></i>&nbsp;
            <span class="home-article-date" data-updated="Sat Jun 03 2023 17:23:04 GMT+0800">
                2023-06-03
            </span>
        </span>
        
            <span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/categories/Javascript/">Javascript</a>&nbsp;
                        </li>
                    
                    
                </ul>
            </span>
        
        
            <span class="home-article-tag">
                <i class="fas fa-tags"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/tags/%E6%9E%84%E9%80%A0%E5%87%BD%E6%95%B0/">构造函数</a>&nbsp;
                        </li>
                    
                </ul>
            </span>
        
    </div>

    <a class="read-more" href="/2023/06/05/Javascript%E4%B9%8B%E6%9E%84%E9%80%A0%E5%87%BD%E6%95%B0/">Read more&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

            </li>
        
            <li class="home-article-item">

                

                <h3 class="home-article-title">
                    <a href="/2023/06/05/Javascript%E4%B9%8B%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B/">
                        Javascript之数据类型
                    </a>
                </h3>

                <div class="home-article-content keep-markdown-body">
                    
                        <p><img src="https://cn.bing.com/th?id=OHR.JavaBromo_ZH-CN2744043733_1920x1200.jpg&rf=LaDigue_1920x1200.jpg" alt="bing.com-哇岛东部的婆罗摩火山，印度尼西亚" title="bing.com-哇岛东部的婆罗摩火山，印度尼西亚"></p>
<p>Javascript中几种数据类型简述。</p>
                    
                </div>

                <div class="home-article-meta-info-container">
    <div class="home-article-meta-info">
        <span>
            <i class="fas fa-history"></i>&nbsp;
            <span class="home-article-date" data-updated="Thu May 11 2023 23:34:12 GMT+0800">
                2023-05-11
            </span>
        </span>
        
            <span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/categories/Javascript/">Javascript</a>&nbsp;
                        </li>
                    
                    
                </ul>
            </span>
        
        
            <span class="home-article-tag">
                <i class="fas fa-tags"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/tags/Javascript%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B/">Javascript数据类型</a>&nbsp;
                        </li>
                    
                </ul>
            </span>
        
    </div>

    <a class="read-more" href="/2023/06/05/Javascript%E4%B9%8B%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B/">Read more&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

            </li>
        
            <li class="home-article-item">

                

                <h3 class="home-article-title">
                    <a href="/2023/06/05/javascript%E4%B9%8B%E5%BA%8F%E5%88%97%E5%8C%96%E4%B8%8E%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96/">
                        Javascript之序列化与反序列化
                    </a>
                </h3>

                <div class="home-article-content keep-markdown-body">
                    
                        <p><img src="https://cn.bing.com/th?id=OHR.Unesco50_ZH-CN3652927413_1920x1200.jpg&rf=LaDigue_1920x1200.jpg" alt="bing.com-梅萨维德国家公园的悬崖宫，美国" title="bing.com-梅萨维德国家公园的悬崖宫，美国"></p>
<p>Javascript之序列化和反序列化简述，以及复杂对象的反序列化方法。</p>
                    
                </div>

                <div class="home-article-meta-info-container">
    <div class="home-article-meta-info">
        <span>
            <i class="fas fa-history"></i>&nbsp;
            <span class="home-article-date" data-updated="Sat Jun 03 2023 17:29:28 GMT+0800">
                2023-06-03
            </span>
        </span>
        
            <span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/categories/Javascript/">Javascript</a>&nbsp;
                        </li>
                    
                    
                </ul>
            </span>
        
        
            <span class="home-article-tag">
                <i class="fas fa-tags"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/tags/%E5%BA%8F%E5%88%97%E5%8C%96/">序列化</a>&nbsp;
                        </li>
                    
                        <li>
                            | 
                            <a href="/tags/%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96/">反序列化</a>&nbsp;
                        </li>
                    
                </ul>
            </span>
        
    </div>

    <a class="read-more" href="/2023/06/05/javascript%E4%B9%8B%E5%BA%8F%E5%88%97%E5%8C%96%E4%B8%8E%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96/">Read more&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

            </li>
        
            <li class="home-article-item">

                

                <h3 class="home-article-title">
                    <a href="/2023/06/05/Javascript%E4%B9%8B%E5%A0%86%E3%80%81%E6%A0%88%E4%B8%8E%E9%98%9F%E5%88%97/">
                        Javascript之浅堆、栈与队列
                    </a>
                </h3>

                <div class="home-article-content keep-markdown-body">
                    
                        <p><img src="https://cn.bing.com/th?id=OHR.ReefAwareness_ZH-CN8840949729_1920x1200.jpg&rf=LaDigue_1920x1200.jpg" alt="bing.com-大堡礁的航拍图，澳大利亚" title="bing.com-大堡礁的航拍图，澳大利亚"></p>
<p>浅谈Javascript中的堆、栈与队列三种数据结构。</p>
                    
                </div>

                <div class="home-article-meta-info-container">
    <div class="home-article-meta-info">
        <span>
            <i class="fas fa-history"></i>&nbsp;
            <span class="home-article-date" data-updated="Sat Jun 03 2023 17:14:31 GMT+0800">
                2023-06-03
            </span>
        </span>
        
            <span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/categories/Javascript/">Javascript</a>&nbsp;
                        </li>
                    
                    
                </ul>
            </span>
        
        
            <span class="home-article-tag">
                <i class="fas fa-tags"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/tags/%E6%A0%88/">栈</a>&nbsp;
                        </li>
                    
                        <li>
                            | 
                            <a href="/tags/%E5%A0%86/">堆</a>&nbsp;
                        </li>
                    
                        <li>
                            | 
                            <a href="/tags/%E9%98%9F%E5%88%97/">队列</a>&nbsp;
                        </li>
                    
                </ul>
            </span>
        
    </div>

    <a class="read-more" href="/2023/06/05/Javascript%E4%B9%8B%E5%A0%86%E3%80%81%E6%A0%88%E4%B8%8E%E9%98%9F%E5%88%97/">Read more&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

            </li>
        
            <li class="home-article-item">

                

                <h3 class="home-article-title">
                    <a href="/2023/06/05/Javascript%E4%B9%8B%E5%8C%BF%E5%90%8D%E5%87%BD%E6%95%B0%E4%B8%8E%E7%AE%AD%E5%A4%B4%E5%87%BD%E6%95%B0/">
                        Javascript之匿名函数与箭头函数
                    </a>
                </h3>

                <div class="home-article-content keep-markdown-body">
                    
                        <p><img src="https://cn.bing.com/th?id=OHR.BiodiverseCostaRica_ZH-CN5524154131_1920x1200.jpg&rf=LaDigue_1920x1200.jpg" alt="bing.com-阿雷纳尔火山，蒙泰韦尔德，哥斯达黎加" title="bing.com-阿雷纳尔火山，蒙泰韦尔德，哥斯达黎加"></p>
<p>Javascript中箭头函数匿名函数的含义、使用方法及区别。</p>
                    
                </div>

                <div class="home-article-meta-info-container">
    <div class="home-article-meta-info">
        <span>
            <i class="fas fa-history"></i>&nbsp;
            <span class="home-article-date" data-updated="Sat Jun 03 2023 17:22:51 GMT+0800">
                2023-06-03
            </span>
        </span>
        
            <span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/categories/Javascript/">Javascript</a>&nbsp;
                        </li>
                    
                    
                </ul>
            </span>
        
        
            <span class="home-article-tag">
                <i class="fas fa-tags"></i>&nbsp;
                <ul>
                    
                        <li>
                            
                            <a href="/tags/%E5%8C%BF%E5%90%8D%E5%87%BD%E6%95%B0/">匿名函数</a>&nbsp;
                        </li>
                    
                        <li>
                            | 
                            <a href="/tags/%E7%AE%AD%E5%A4%B4%E5%87%BD%E6%95%B0/">箭头函数</a>&nbsp;
                        </li>
                    
                </ul>
            </span>
        
    </div>

    <a class="read-more" href="/2023/06/05/Javascript%E4%B9%8B%E5%8C%BF%E5%90%8D%E5%87%BD%E6%95%B0%E4%B8%8E%E7%AE%AD%E5%A4%B4%E5%87%BD%E6%95%B0/">Read more&nbsp;<i class="fas fa-angle-right"></i></a>
</div>

            </li>
        
    </ul>

    <div class="home-paginator">
        <div class="paginator">
    
        <a class="prev btn"
           href="/page/2/"
        >Prev</a>
    

    
</div>

    </div>
</div>


                
            </div>

        </div>

        <div class="page-main-content-bottom">
            
<footer class="footer">
    <div class="info-container">
        <div class="copyright-info info-item">
            &copy;
            
                <span>2020</span> -
            
            2024
            
                &nbsp;<i class="fas fa-heart icon-animate"></i>
                &nbsp;<a href="/">aaton</a>
            
        </div>
        
            <script async 
                    src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
            <div class="website-count info-item">
                
                    Visitor Count&nbsp;<span id="busuanzi_value_site_uv"></span>&ensp;
                
                
                    Totalview&nbsp;<span id="busuanzi_value_site_pv"></span>
                
            </div>
        
        <div class="theme-info info-item">
            Powered by <a target="_blank" href="https://hexo.io">Hexo</a>&nbsp;|&nbsp;Theme&nbsp;<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v3.6.1</a>
        </div>
        
        
    </div>
</footer>

        </div>
    </div>

    

    <div class="right-bottom-side-tools">
        <div class="side-tools-container">
    <ul class="side-tools-list">
        <li class="tools-item tool-font-adjust-plus flex-center">
            <i class="fas fa-search-plus"></i>
        </li>

        <li class="tools-item tool-font-adjust-minus flex-center">
            <i class="fas fa-search-minus"></i>
        </li>

        <li class="tools-item tool-dark-light-toggle flex-center">
            <i class="fas fa-moon"></i>
        </li>

        <!-- rss -->
        

        
            <li class="tools-item tool-scroll-to-top flex-center">
                <i class="fas fa-arrow-up"></i>
            </li>
        

        <li class="tools-item tool-scroll-to-bottom flex-center">
            <i class="fas fa-arrow-down"></i>
        </li>
    </ul>

    <ul class="exposed-tools-list">
        <li class="tools-item tool-toggle-show flex-center">
            <i class="fas fa-cog fa-spin"></i>
        </li>
        
    </ul>
</div>

    </div>

    <div class="zoom-in-image-mask">
    <img class="zoom-in-image">
</div>


    

</main>





<script src="/js/utils.js"></script>

<script src="/js/main.js"></script>

<script src="/js/header-shrink.js"></script>

<script src="/js/back2top.js"></script>

<script src="/js/dark-light-toggle.js"></script>







    
<script src="/js/code-block.js"></script>





<div class="post-scripts">
    
</div>



</body>
</html>
